﻿using ChengNet.StrongCaml;
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace ChengNet.StrongCaml.UnitTest
{
    [TestClass]
    public class EncodeTest
    {
        [TestMethod]
        public void TestScriptEncode() {
            Assert.AreEqual("\\\"\\u002b\\\\\\u0027\\u003e\\u003c", Encode.ScriptEncode("\"+\\'><"));
        }
    }
}
